package com.iqik.change.service;

import com.iqik.change.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserService {

    @Select("select id, name, nick, age from tb_user where id = #{id}")
    String getUserById(int id);

    @Select("select id, name, nick, age from tb_user")
    List<String> getUsers();

}
